package com.paic.mhis.hcpms.feedback.intergration.dao.impl;

import java.util.Map;

import org.springframework.stereotype.Component;

import com.paic.mhis.hcpms.audit.dto.AuditCaseDTO;
import com.paic.mhis.hcpms.feedback.intergration.dao.AuditFeedbackDAO;
import com.paic.pafa.biz.dao.BaseDAO;

/**
 * 稽核 医院反馈DAO 实现类
 * @author EX-XIEQI001
 *
 */
@Component("auditFeedbackDAO")
public class AuditFeedbackDaoImpl extends BaseDAO implements AuditFeedbackDAO{

	@Override
	public void updateAuditCase(Map<String, Object> map) {
		this._update("auditFeedback.updateCaseStatus", map);
		
	}

	@Override
	public AuditCaseDTO queryAuditCase(String caseCode) {
		return (AuditCaseDTO)this._queryForObject("auditFeedback.queryAuditCase", caseCode);
	}

	@Override
	public String queryHospitalByUser(String userId) {
		
		return this._getString("auditFeedback.queryHospitalByUser", userId);
	}

	
}
